#include "BondHolidayForm.h"
#include <QHBoxLayout>
#include <QLabel>
#include <QWidget>


BondHolidayForm::BondHolidayForm(QWidget *parent)
    : QWidget(parent)
{
    QWidget *BondHolidayForm = this;

    if (BondHolidayForm->objectName().isEmpty())
        BondHolidayForm->setObjectName(QString::fromUtf8("BondHolidayForm"));
    BondHolidayForm->setFixedWidth(25);
    horizontalLayout = new QHBoxLayout(BondHolidayForm);
    horizontalLayout->setSpacing(0);
    horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout"));
    horizontalLayout->setContentsMargins(0, 0, 0, 0);
    Text = new QLabel(BondHolidayForm);
    Text->setObjectName(QString::fromUtf8("Text"));
    QFont font;
    font.setPointSize(7);
    Text->setFont(font);
    Text->setAlignment(Qt::AlignCenter);

    horizontalLayout->addWidget(Text);

    Number = new QLabel(BondHolidayForm);
    Number->setObjectName(QString::fromUtf8("Number"));
    font.setBold(true);
    Number->setFont(font);
    Number->setAlignment(Qt::AlignCenter);

    horizontalLayout->addWidget(Number);

    Text->setText("休");
}

BondHolidayForm::~BondHolidayForm()
{
}

void BondHolidayForm::setDayCount(const QString& n)
{
    Number->setText(n);
}
